class CreateRelationships < ActiveRecord::Migration
  def self.up
    create_table :relationships do |t|
      t.integer	:user_id
      t.integer	:relation_id
      t.boolean	:authorized, :defalt => false
      t.string	:relationship_type
      t.datetime	:created_at
    end
  end

  def self.down
    drop_table :relationships
  end
end
